package com.baixun.gascommon.utils;

/**
 * 线程副本工具类
 * author :yangzhi
 */

public class ThreadLocalUtils {

    private static final ThreadLocal<Long> threadLocal=new ThreadLocal<>();


    public  static void setThreadLocal(Long value){
        threadLocal.set(value);
    }

    public static  Long getThreadLocal(){
        return threadLocal.get();
    }
    public static void removeThreadLocal(){
     threadLocal.remove();
    }

}
